package tuhao.hibernate.www.controller.user;

import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.servlet.ModelAndView;
import tuhao.hibernate.www.util.controller.TokenController;

/**
 *
 * @author tuhao on 2017/3/28.
 */
@RequestMapping("user")
@Controller
public class UserController extends TokenController {

    @RequestMapping(value = "/index")
    public ModelAndView home(ModelAndView mv) {
        mv.setViewName("error/404");
        return mv;
    }

    @RequestMapping(value = "/index1")
    public String sss(){

        return "error/4";
    }
}
